<?php 
    $request = Zend_Controller_Front::getInstance()->getRequest();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php 
    echo $this->headTitle("Osml - Console Administration")
        ->headTitle($request->getControllerName())
        ->headTitle($request->getActionName())
        ->setSeparator(" ~ ");
    echo $this->headMeta()
        ->appendHttpEquiv("Content-Type", "text/html; charset=UTF-8");
    echo $this->render("actions.phtml");
    echo $this->headLink()
        ->appendStylesheet($this->baseUrl('/css/admin/screen.css'), "screen")
        ->appendStylesheet( $this->baseUrl( $this->versionning('css/beauTableau.css') ) )
        ->appendStylesheet('/css/admin/pro_dropline_ie.css', "all", "IE");

    echo $this->jQuery()->uiEnable()
	    ->addStylesheet($this->baseUrl('/css/jQuery/cupertino/jquery-ui-1.8.21.custom.css'))
		->setLocalPath('http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js')
		->setUiLocalPath('http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js')
        ->addJavascriptFile($this->baseUrl('/js/multiselect/ui.multiselect.js'))
        ->addJavascriptFile($this->baseUrl('/js/multiselect/locale/ui-multiselect-fr.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/ui.core.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/ui.checkbox.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.bind.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/date.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.datePicker.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/perso.datepicker.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.tooltip.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.dimensions.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.filestyle.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.selectbox-0.5_style_2.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/jquery.pngFix.pack.js'))
        ->addJavascriptFile($this->baseUrl('/js/admin/custom_jquery.js'))
        ->addOnLoad("
            $('a.info-tooltip ').tooltip({
        		track: true,
        		delay: 0,
        		fixPNG: true, 
        		showURL: false,
        		showBody: " - ",
        		top: -35,
        		left: 5
        	});
            $('input.file_1').filestyle({ 
                image: '/images/admin/forms/choose-file.gif',
                imageheight : 21,
                imagewidth : 78,
                width : 310
            });
            $('.styledselect').selectbox({ inputClass: 'selectbox_styled' });
            $('.styledselect_pages').selectbox({ inputClass: 'styledselect_pages' });
            $('.styledselect_form_1').selectbox({ inputClass: 'styledselect_form_1' });
	        $('.styledselect_form_2').selectbox({ inputClass: 'styledselect_form_2' });
            $('input').checkBox();
        	$('#toggle-all').click(function(){
         	$('#toggle-all').toggleClass('toggle-checked');
        	$('#mainform input[type=checkbox]').checkBox('toggle');
        	return false;
        ");
	echo $this->headScript()
        ->appendFile("/js/admin/jquery.selectbox-0.5.js", "text/javascript", array("conditional" => "!IE 7"));
?>

</head>
<body> 
<!-- Start: page-top-outer -->
<div id="page-top-outer">    

	<div id="logo"><img src="/images/admin/shared/osml_bad_petit.png" /></div><p>&nbsp;&nbsp;Console d'administration</p>
 	<div class="clear"></div>

<!-- End: page-top -->

</div>
<!-- End: page-top-outer -->
	
<div class="clear">&nbsp;</div>
 
<?php echo $this->render("navigation.phtml")?>

 <div class="clear"></div>
 
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">
    <?php echo $this->layout()->content?>         
</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>
    
<!-- start footer -->         
<div id="footer">
	<!--  start footer-left -->
	<div id="footer-left">
	Administration de lomme-badminton.fr &copy; Copyright O.S.M.L. Badminton <span id="spanYear"></span> <a href="">www.lomme-badminton.fr</a></div>
	<!--  end footer-left -->
	<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
 
</body>
</html>